<div id="content">
	<?php  foreach ($homemessage['data']['info'] as $key => $value) : ?>
	<div class="message">
		<div class="messageimage">
			<?php if(!empty($value['image'][0] )): ?>
				<a href="<?php echo $value['image'][0] ?>/460" title="add a caption to title attribute / or leave blank" class="thickbox">
				<img src="<?php echo $value['image'][0] ?>/460" alt="" >
				</a>
			<?php endif; ?>
		</div>
		<div class="headerimg">
			<img src="<?php echo $value['head'] ?>/50" alt="" class = 'messageheader'>
			<span><?php echo $value['nick'] ?></span>
		</div>
		<div class = "messagecontent"><div class = "messagecontentinside"><?php echo $value['text'] ?></div></div>
	</div>
	<?php endforeach; ?>
</div>